home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 3
/
Amoszine 3.adf
/
MORE_SOURCE
/
AJC-WATERPOURING-EFFECT.AMOS
/
AJC-WATERPOURING-EFFECT.amosSourceCode
Wrap
AMOS Source Code
|
1992-02-26
|
626b
|
39 lines
'
' "WATERFALL EFFECT"
' By Andrew Campbell
'
'
Screen Open 0,320,256,32,Lowres
Curs Off : Flash Off : Curs Off : Hide On : Cls 0
Palette $0,$11,$22,$33,$44,$55,$66,$77,$88,$99,$AA,$BB,$CC,$DD,$EE,$FF,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,0,0
C=1 : Ink C : Shift Up 1,1,31,1
X=160 : Y=126 : Z=40 : R=3
Degree
A=2
Repeat
Inc A
For J=-59 To 320/2 Step A
Inc C : Gosub CS
For I=0 To 319
Y6=Tan((I/320.0)*Z*Pi#)*60
Inc C : Gosub CS
Circle I,J+Y6,R
Next I
If Mouse Key=1 : Goto ED : End If
Next J
Until Mouse Key
ED:
Shift Off
Fade 1 : Wait 15 : Cls 0
Edit
CS:
Inc C
If C>30 : C=1 : End If
Ink C
Return